export default {
  legend: {
    data: ['订单交易额', '订单数量']
  },
  xAxis: {
    type: 'category',
    data: Array.from(new Array(12), (_, i) => `${i + 1}月`)
  },
  yAxis: [
    { name: '订单交易额', type: 'value', position: 'left' },
    { name: '订单数量', type: 'value', position: 'right' }
  ],
  series: [
    {
      name: '订单交易额',
      data: [],
      type: 'bar',
      smooth: true,
      yAxisIndex: 0
    },
    {
      name: '订单数量',
      data: [],
      type: 'line',
      smooth: true,
      yAxisIndex: 1
    }
  ]
}
